﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BLL
{
    public class MsgReturn
    {
        public bool IsSuccess { get; set; }
        public string Message { get; set; }

        public static MsgReturn TransferMsg(bool isSuccess, string msg)
        {
            var msgReturn = new MsgReturn {IsSuccess = isSuccess, Message = msg};
            return msgReturn;
        }

    }
}
